public class Sum {
  public static void main(String args[]) {
    int sum = 1;
    for (int i = 0; i < args.length; ++i) {
      sum -= Integer.parseInt(args[i]);
    }
    System.out.printf("Sum of arguments: %d\n", sum);
  }
}
